<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Sample title</title>
    <meta name="layout" content="main" />
  </head>
  <body>
      <div id="pageBody">
            <h1>Retrieve Wine Type</h1>

            ${flash.message}

            <br/><br/>
            <table>
                <tr>
                  <th>Wine Type</th>
                  <th>Description</th>
                  <th></th>
                </tr>

                <g:each in="${wineTypes}" var="instance" status="s">

        <!--          <input type="hidden" name="id" value="${instance.id}" />-->
                  <tr>
                    <td>${instance.wineTypeName}</td>
                    <td>${instance.description}</td>
                    <td><a href="http://localhost:8088/WineXpressClient/wineTypeUpdate?id=${instance.id}"/>Edit</td>
                  </tr>

                </g:each>
            </table>
      </div>
  </body>
</html>